package models

// LianMcc 联动平台上送行业编码表
type LianMcc struct {
	ID   uint   `json:"id" form:"id" gorm:"primary_key;AUTO_INCREMENT;comment:'id'"`
	Code int    `json:"codeService" gorm:"comment:'平台上送行业编码'"`
	Name string `json:"name" gorm:"comment:'平台行业中文名称'"`
}

// LianMccList 获取送行业编码表
func LianMccList() []*LianMcc {
	var results = make([]*LianMcc, 0)
	db.Model(&LianMcc{}).Scan(&results)
	return results
}
